VFPU functions


Functions

float vfpu_sinf (float angle, float rayon)
float vfpu_cosf (float angle, float rayon)

Detailed Description

Functions using the Vector Floating Point Unit (VFPU). Please note that the PC does not support the VFPU, using it results in extremely slow performance, and some of the calls may not be emulated properly, if at all.

Function Documentation

float vfpu_sinf ( float  angle,
float  rayon 
)

Calculates the sine of an angle using the VFPU (very fast). Please note that oslSin also uses the VFPU but first converts the angle from degrees to radians.

Parameters:
angle Angle in radians
rayon Radius
Returns:
sin(angle) * rayon

float vfpu_cosf ( float  angle,
float  rayon 
)

Calculates the cosine of an angle using the VFPU (very fast). Please note that oslCos also uses the VFPU but first converts the angle from degrees to radians.

Parameters:
angle Angle in radians
rayon Radius
Returns:
cos(angle) * rayon


Generated on Sat Dec 1 13:29:01 2007 by  doxygen 1.5.2